package com.csdj.t301.constant;

/**
 * author:cloud
 * date:2021/4/13 0013
 **/
public class CommonConstant {

    public final static String HEAD_TOKEN = "TOKEN";
    public final static String HEAD_USERID = "USERID";
    //用于redis保存token的键的前缀
    public final static String CACHE_TOKEN_PREFIX = "token_";
    //用户登录有效时间
    public final static int USER_LOGIN_EXPIRE = 3600*24*30;
}
